package com.team11.server.service.admin;

import com.team11.server.mapper.Admin_UpdateP_Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;

@Service
public class Admin_UpdateP_Service {
    @Autowired
    private Admin_UpdateP_Mapper admin_updateP_mapper;
    public String updateP(HashMap<String,Object> map){
        Integer t=admin_updateP_mapper.UpdateP(map);
        if (t>0){
            return "修改成功";
        }
        else return  "数据未修改";
    }
}
